package com.zyzd.pathdemo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.zyzd.pathdemo.R;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void drawableText(View view) {
        Intent intent = new Intent(this, TextActivity.class);
        startActivity(intent);
    }
    public void shader(View view) {
        Intent intent = new Intent(this, ShaderActivity.class);
        startActivity(intent);
    }
    public void colorfilter(View view) {
        Intent intent = new Intent(this, ColorFilterActivity.class);
        startActivity(intent);
    }
    public void pathEffect(View view) {
        Intent intent = new Intent(this, PathEffectActivity.class);
        startActivity(intent);
    }
    public void maskFilter(View view) {
        Intent intent = new Intent(this,MaskFilterActivity.class);
        startActivity(intent);
    }


}
